SUBDIRS = src po data

EXTRA_DIST = \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in

install-exec-hook:
	rm -f $(DESTDIR)$(LXPANEL_LIBDIR)/plugins/*.la
	rm -f $(DESTDIR)$(LXPANEL_LIBDIR)/plugins/*.a

deb:
	@if test -s "`which debuild`"; then                                                \
		debuild -us -uc -b;                                                        \
		mv ../$(PACKAGE_NAME)_$(PACKAGE_VERSION)-*_*.deb .;                        \
	else                                                                               \
		echo "You need to install the debian package 'devscripts'";                \
		exit 1;                                                                    \
	fi
